﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TianShu.LicenseAuthorizer.Abstracts.Service
{
    public static class LicenseLoaderServiceExtension
    {
        public static void CheckLicenseLoaderServiceImpl(this ILiceseLoaderService liceseLoaderService)
        {

            if (liceseLoaderService.GetType().GUID != typeof(NullLiceseLoaderService).GUID)
            {
                throw new ApplicationException("license实现类无法更改");
            }
        }
    }
}
